package com.lingkang.dbtodoc.service;

import com.lingkang.dbtodoc.entity.DataBaseSchema;
import com.lingkang.dbtodoc.entity.TableSchema;
import com.lingkang.dbtodoc.pojo.DbConnect;
import java.util.List;
import javax.servlet.http.HttpServletRequest;

/**
 * @author 绫小路
 * @date 2021/2/1 1:03
 * @description
 */
public interface DBService {

  public String updateConnect(DbConnect connect, HttpServletRequest request);

  public List<DataBaseSchema> getDataBaseSchema();

  public void updateTableComment(String table,String comment);

  public List<TableSchema> getTableSchema();

  public TableSchema getTableSchema(String tableName);

  public void updateColumnComment(String tableName,String columnName,String comment);
}
